package com.gbq.qimo.service;

import com.gbq.qimo.pojo.PageBean;
import com.gbq.qimo.pojo.Student;

import java.util.List;
import java.util.Map;

/**
 * @ClassName StudentService
 * @Description TODO
 * @Author guobenqi
 * @Date 2021/5/29 15:57
 */
public interface StudentService {
    Student findStudent(Student student);

    List<Student> findAllStudents();

    int addStudent(Student student);

    Student findStudentById(Integer id);

    Integer updateStudent(Student student);

    int deleteStudentById(int parseInt);

    PageBean<Student> findBookByPage(String currentPage, String rows, Map<String, String[]> condition);

    int delSelectedStudents(String[] ids);

    Student findStudentByUsername(Student student);

    int register(Student loginStudent);
}
